//
//  DKNormalNavigationController.m
//  BTApp
//
//  Created by 丁侃 on 16/4/17.
//  Copyright © 2016年 丁侃. All rights reserved.
//

#import "DKNormalNavigationController.h"

@implementation DKNormalNavigationController

+(void)initialize
{
    //统一设置普通导航条
    if (self == [DKNormalNavigationController class]) {
        
        //获取当前导航条
        UINavigationBar *navBar = [UINavigationBar appearanceWhenContainedIn:[self class], nil];
        
        [navBar setBackgroundImage:[UIImage imageWithColor:[UIColor colorWithRed:1 green:1 blue:1 alpha:1]] forBarMetrics:UIBarMetricsDefault];
        
        [navBar setTitleTextAttributes:@{
                                         NSFontAttributeName:[UIFont systemFontOfSize:18.0],
                                         NSForegroundColorAttributeName:BTNormalNavColor(189, 189, 189, 1),
                                         }];
        
    }
}


@end
